#!/bin/bash
echo "从当前目录测试 AICoder cbp2make_ai..."
echo "位置: /d/vc/UEStudio/src/tools/cbp2make_ai"

# 测试基本功能
./bin/cbp2make_ai.exe -in ../../CodeBlocks_wx30_64.workspace -out ../../Makefile.ai_test

if [ -f "../../Makefile.ai_test" ]; then
    echo "生成成功! 检查路径修正:"
    grep -n "wxWidgets" ../../Makefile.ai_test | head -5
else
    echo "生成失败，请检查错误信息"
fi
